from itertools import combinations_with_replacement
from traceback import print_tb


def func():
    print("hello_world")
    print("zr is pig")


i = 0
func()
print("abc\nabc")
a = 123
print(oct(a))
a = 'b' * 20
d = chr(65)
print(d)
print('abdhhjkhkhkioijljlkjljljl\rd')
print(f'b={a}')
c = 34.444
d = 144.222
print(f'我的名字叫{c:.2f}')
result = 9 % 2
print(result)
print(10 ** 3)
print(1 and 2)
print(0 and 1)
print(1 or 2)
A = 'A'
print(ord(A))
a = 200
a == 2 or print('a大于5')
print(5 & 7)
print(5 | 7)
print(5 ^ 7)
print(5 // 3)
a = 3
if a == 2:
    print(a)
elif a == 3:
    print(A)
else:
    print('增瑞是傻逼')
is_employee = True
# 如果不是提示不允许入内
if not is_employee:
    print("非公勿内")
import random

Rules = random.randint(1, 3)
print(Rules)


def Plus():
    row = 1
    while row <= 9:
        cow = 1
        while cow <= row:
            print(f'{cow}*{row}={row * cow}',end="\t")
            cow = cow + 1
        row = row + 1
        print('')


Plus()
for i in [1,2,3,15]:
    # for必须是可迭代对象
    print(i,end='')
for i in range(10):
    print(i,end='')
print(type(random.randint(1,3)))
for i in range(12):
    print(i)
else:
    print('你是傻逼')
    